package com.lsw.config;


import android.os.Environment;


/**
 * 全局常量
 */
public class Constants {
    /**
     * 全局域名
     */
    public static final String HOST = "http://yilingmuyan.zpftech.com/api/common/";
    /**
     * 缓存路径
     */
    public static final String storePath = Environment.getExternalStorageDirectory().getPath() + "/webcache/";
    /**
     * 微信APP_IP
     */
    public static boolean isPayingWX;
    public static boolean isWxPaySuccess;
    public static final String WEIXINAPPID = "wx0f8de17b271b3c9f";
    public static final String WEIXINAppSecret = "fea65b448eb5372c262b7e31571d100e";
    /**
     * 微博APP_IP
     */
    public static final String WEIBOAPPID = "2974330360";
    public static final String WEIBOAppSecret = "49956ef192ee63f901660b1dcd5d0cbf";
    public static final String WEIBO_URL = "https://api.weibo.com/oauth2/default.html";
    /**
     * QQAPP_IP
     */
    public static final String QQAPPID = "1104947225";
    public static final String QQAppSecret = "yxCr7tAtoiSgU3tD";


    /**
     * 发单图片最大数量
     */

    public static final int MYORDER_IMAGE_MAX_COUNT = 5;

    /**
     * 发布最大图片张数
     */
    public static final int IMG_COUNT_MAX = 9;
    /**
     * 说说最大发布发布数
     */
    public static final int CONTENT_SIZE_MAX = 800;
    /**
     * 图片压缩最大宽度
     */
    public static final int IMG_ZOOM_WIDTH_MAX = 640;
    /**
     * 图片压缩最大高度
     */
    public static final int IMG_ZOOM_HEIGHT_MAX = 960;
    /**
     * 图片压缩质量
     */
    public static final int IMG_ZOOM_QUALITY = 80;
    /**
     * 默认分页条数
     */
    public static final int PAGE_DEFAULT_COUNT = 10;
    /**
     * 默认开始页
     */
    public static final int PAGE_START = 1;
    /**
     * 访问网络成功
     */
    public static final int CODE_SUCESS = 100;
    /**
     * 登陆过期
     */
    public static final int CODE_TOKEN = 102;

}
